package com.kgc.orderMeal.mapper;

import com.kgc.orderMeal.bean.Customer;
import com.kgc.orderMeal.bean.CustomerExample;

import java.util.List;

public interface CustomerMapper extends CrudDao<Customer> {

    List<Customer> selectByExample(CustomerExample example);

    /**
     * 开启用户会员状态
     * @param id
     */
    void enableStatus(int id);

    /**
     * 名字数量
     * @param name
     * @return
     */
   int insertNameCount(String name);



}